import { IPSCodeList } from '../../codelist/ipscode-list';
import { IPSChartObject } from './ipschart-object';

/**
 *
 * 子接口类型识别属性[]
 * @export
 * @interface IPSChartDataSetField
 */
export interface IPSChartDataSetField extends IPSChartObject {
  /**
   * 分组模式
   * @type {string}
   */
  groupMode: string;

  /**
   * 代码表对象
   *
   * @type {IPSCodeList}
   */
  getPSCodeList(): IPSCodeList | null;

  /**
   * 代码表对象
   *
   * @type {IPSCodeList}
   */
  get psCodeList(): IPSCodeList | null;

  /**
   * 代码表对象（必须存在）
   *
   * @type {IPSCodeList}
   */
  getPSCodeListMust(): IPSCodeList;

  /**
   * 分组属性
   * @type {boolean}
   */
  groupField: boolean;
}
